
DEFINE INPUT PARAMETER part      LIKE sct_part.
DEFINE INPUT PARAMETER site      LIKE sct_site.
DEFINE INPUT PARAMETER sim       LIKE sct_sim.
DEFINE INPUT PARAMETER element   LIKE spt_element.
DEFINE INPUT PARAMETER cst_value LIKE spt_cst_tl.

FIND FIRST spt_det WHERE spt_part = part 
                   AND spt_site = site
                   AND spt_sim  = sim 
                   AND spt_element = element NO-ERROR.


END.
